from flask import Flask
import time

app = Flask(__name__)
@app.route('/')
def index():
    time.sleep(10)
    return 'index'

@app.route('/index2')
def index2():
    return 'index2'

if __name__ == '__main__':
    app.run(debug=True)